package com.myapp.ruyixing.ui;

import android.content.Intent;
import android.os.Bundle;

import com.myapp.ruyixing.R;
import com.myapp.ruyixing.model.CityHotMenu.HotCell;
import com.myapp.ruyixing.ui.SearchCityMenuFragment.OnCategoryItemClickListener;

public class ChooseCityMenuActivity extends BaseActivity implements
		OnCategoryItemClickListener {

	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);

		setContentView(R.layout.activity_choose_city_menu);
	}

	@Override
	public void onItemClicked(HotCell cell) {
		Intent intent = new Intent();
		intent.putExtra(NearbyStoreActivity.INTENT_KEY_TYPEID,
						cell.id);
		intent.putExtra(NearbyStoreActivity.INTENT_KEY_TYPE_NAME,
						cell.name);
		setResult(RESULT_OK, intent);
		
		finish();
	}
}
